package com.ruihu.admin.module.business.tasknode.domain.dto;

import com.ruihu.admin.module.business.task.domain.dto.ElectricCoreDataUpdateDTO;
import com.ruihu.admin.module.support.file.domain.dto.FileAddDTO;
import com.ruihu.admin.module.support.file.domain.dto.FileUpdateDTO;
import lombok.Data;

import java.util.List;

import io.swagger.annotations.ApiModelProperty;

/**
 * 新建 [ 子任务环节实例表 ]
 *
 * @author Tony
 * @version 1.0
 * @company 瑞虎（南京）信息技术有限公司
 * @copyright (c) 2018 瑞虎（南京）信息技术有限公司Inc. All rights reserved.
 * @date  2022-08-30 19:43:58
 * @since JDK1.8
 */
@Data
public class SubTaskNodeInstAddDTO {

    @ApiModelProperty("子任务ID")
    private Long subTaskId;

    @ApiModelProperty("任务环节实例ID")
    private Long taskNodeInstId;

    @ApiModelProperty("电芯编码")
    private String electricCoreCode;

    @ApiModelProperty("电芯型号")
    private String electricCoreType;

    @ApiModelProperty("缺陷类型列表")
    private List<DefectTypeDTO> defectTypeList;

    @ApiModelProperty("电芯类型编码")
    private String cellTypeCode;

    @ApiModelProperty("工厂编码")
    private String factoryCode;

    @ApiModelProperty("备注信息")
    private String remark;

    @ApiModelProperty("表单数据")
    private String formData;

    @ApiModelProperty("完成标识")
    private boolean finish = false;

    @ApiModelProperty("附件ID列表")
    private List<FileUpdateDTO> fileList;

    private String action;

    @ApiModelProperty("导出数据")
    private ElectricCoreDataUpdateDTO export;

    @ApiModelProperty("任务节点实例表单元素配置")
    private List<NodeInstProcessRelationUpdateDTO> nodeInstConfigValueList;

}
